package com.cn.ccp.bean;

import com.cn.ccp.action.BaseAction;

public class OnlineExamBean {
	
	private String id ;
	private String chapter_course_id ;
	private String index ;

	private String topic ; 
	private String answer ;
	private int score ;//题目分数
	private boolean showSelect = false ;
	
	private String answerA ;
	private String answerB ;
	private String answerC ;
	private String answerD ;
	
	private boolean shwoJudge = false ;
	private String answerError ;
	private String answerRight ;	
	
	private String selectAnswer ;//选择答案
	
	private int selectCourseId ;
	
	
	private boolean showAnswerInfo = false; //显示参考答案信息
	
	private int aNum,bNum,cNum,dNum;//调查结果统计，代表选择a、b、c、d的数量
	
	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public String getTopic() {
		return topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public boolean isShowSelect() {
		return showSelect;
	}

	public void setShowSelect(boolean showSelect) {
		this.showSelect = showSelect;
	}

	public String getAnswerA() {
		return answerA;
	}

	public void setAnswerA(String answerA) {
		this.answerA = answerA;
	}

	public String getAnswerB() {
		return answerB;
	}

	public void setAnswerB(String answerB) {
		this.answerB = answerB;
	}

	public String getAnswerC() {
		return answerC;
	}

	public void setAnswerC(String answerC) {
		this.answerC = answerC;
	}

	public String getAnswerD() {
		return answerD;
	}

	public void setAnswerD(String answerD) {
		this.answerD = answerD;
	}

	public boolean isShwoJudge() {
		return shwoJudge;
	}

	public void setShwoJudge(boolean shwoJudge) {
		this.shwoJudge = shwoJudge;
	}

	public String getAnswerError() {
		return BaseAction.getInstance().getMessages("label_error");
	}

	public void setAnswerError(String answerError) {
		this.answerError = answerError;
	}

	public String getAnswerRight() {
		return BaseAction.getInstance().getMessages("label_right");
	}

	public void setAnswerRight(String answerRight) {
		this.answerRight = answerRight;
	}

	public String getSelectAnswer() {
		return selectAnswer;
	}

	public void setSelectAnswer(String selectAnswer) {
		this.selectAnswer = selectAnswer;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public String getChapter_course_id() {
		return chapter_course_id;
	}

	public void setChapter_course_id(String chapter_course_id) {
		this.chapter_course_id = chapter_course_id;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getSelectCourseId() {
		return selectCourseId;
	}

	public void setSelectCourseId(int selectCourseId) {
		this.selectCourseId = selectCourseId;
	}

	public boolean isShowAnswerInfo() {
		return showAnswerInfo;
	}

	public void setShowAnswerInfo(boolean showAnswerInfo) {
		this.showAnswerInfo = showAnswerInfo;
	}

	public int getaNum() {
		return aNum;
	}

	public void setaNum() {
		this.aNum++;
	}

	public int getbNum() {
		return bNum;
	}

	public void setbNum() {
		this.bNum ++;
	}

	public int getcNum() {
		return cNum;
	}

	public void setcNum() {
		this.cNum ++;
	}

	public int getdNum() {
		return dNum;
	}

	public void setdNum() {
		this.dNum ++;
	}
	
}
